Added tests for RUSTC_LINKER buils script env var
authorHenrik Laxhuber <henrik@laxhuber.com>
Mon, 23 Apr 2018 15:11:10 +0000 (17:11 +0200)
committerHenrik Laxhuber <henrik@laxhuber.com>
Mon, 23 Apr 2018 15:11:10 +0000 (17:11 +0200)
commit1d36411cc421d5737f0fd8c123ff2fcc74780d09
tree4e5f87d747afd543146ed5f6feca815f76eb60e7
parent086cc9b089c14e763e8331ddb1c8d1c5411ea46b
Added tests for RUSTC_LINKER buils script env var

Added tests for the environment variable RUSTC_LINKER that is
passed to the build script.
Also slightly improved readability of the code responsible for
passing the env var.
src/cargo/core/compiler/custom_build.rs
tests/testsuite/build_script.rs